b8a0f83e64d797c5e9a3ab8e5021f6f7f848f27b,plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/inheritance/RefusedBequestInspectionBase.java,RefusedBequestVisitor,visitMethod,#PsiMethod#,95

Before Change


        return;
      }
      if (ignoreEmptySuperMethods) {
        final PsiMethod superMethod = (PsiMethod)leastConcreteSuperMethod.getNavigationElement();
        if (MethodUtils.isTrivial(superMethod, true)) {
          return;
        }

After Change


        return;
      }
      if (ignoreEmptySuperMethods) {
        final PsiElement element = leastConcreteSuperMethod.getNavigationElement();
        final PsiMethod superMethod = element instanceof PsiMethod ? (PsiMethod)element : leastConcreteSuperMethod;
        if (MethodUtils.isTrivial(superMethod, true)) {
          return;
        }